package net.csdn.business.search.config;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;


/**
 * @ClassName OpenApiConfig
 * @Description openApi配置类
 * @Author zhangyl
 * @Date 2023/5/19 15:18
 */
@Slf4j
@Data
@RefreshScope
@Configuration
public class SearchConfig {


    /**
     * atomGit的domain地址
     */
    @Value("${atom.git.domain:https://test.atomgit.com}")
    private String domain;


    /**
     * atomGit的图片存储的根地址
     */
    @Value("${image.host:https://atomgit.oss-cn-beijing.aliyuncs.com}")
    private String imageDomain;
}